object fmRelatorio: TfmRelatorio
  Left = 0
  Top = 0
  Caption = 'Relat'#243'rio'
  ClientHeight = 510
  ClientWidth = 807
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  OldCreateOrder = False
  Position = poScreenCenter
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Splitter1: TSplitter
    Left = 209
    Top = 0
    Width = 8
    Height = 510
    Beveled = True
    ExplicitLeft = 288
    ExplicitTop = 8
  end
  object pcPrincipal: TPageControl
    Left = 217
    Top = 0
    Width = 590
    Height = 510
    ActivePage = tsRelatorio
    Align = alClient
    TabOrder = 0
    TabPosition = tpBottom
    object tsRelatorio: TTabSheet
      Caption = 'Relat'#243'rio'
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 582
        Height = 484
        Align = alClient
        TabOrder = 0
        object Panel1: TPanel
          Left = 1
          Top = 1
          Width = 580
          Height = 482
          Align = alClient
          Caption = 'Panel1'
          TabOrder = 0
          object fcGrid1: TfcGrid
            Left = 1
            Top = 23
            Width = 578
            Height = 458
            DefaultColWidth = 100
            Styles.CaptionArea.FillColor = 15466495
            Styles.CaptionArea.TextColor = clBlack
            Styles.CaptionArea.Font.Charset = DEFAULT_CHARSET
            Styles.CaptionArea.Font.Color = clBlack
            Styles.CaptionArea.Font.Height = -11
            Styles.CaptionArea.Font.Name = 'Tahoma'
            Styles.CaptionArea.Font.Style = []
            Styles.HeaderArea.FillColor = clBtnFace
            Styles.HeaderArea.TextColor = clGray
            Styles.HeaderArea.Font.Charset = DEFAULT_CHARSET
            Styles.HeaderArea.Font.Color = clGray
            Styles.HeaderArea.Font.Height = -11
            Styles.HeaderArea.Font.Name = 'Tahoma'
            Styles.HeaderArea.Font.Style = []
            Styles.DataArea.FillColor = clWhite
            Styles.DataArea.TextColor = clGray
            Styles.DataArea.Font.Charset = DEFAULT_CHARSET
            Styles.DataArea.Font.Color = clGray
            Styles.DataArea.Font.Height = -11
            Styles.DataArea.Font.Name = 'Tahoma'
            Styles.DataArea.Font.Style = []
            Styles.ServiceArea.FillColor = 15466495
            Styles.ServiceArea.TextColor = clBlack
            Styles.ServiceArea.Font.Charset = DEFAULT_CHARSET
            Styles.ServiceArea.Font.Color = clBlack
            Styles.ServiceArea.Font.Height = -11
            Styles.ServiceArea.Font.Name = 'Tahoma'
            Styles.ServiceArea.Font.Style = []
            Styles.ActiveItem.FillColor = clActiveCaption
            Styles.ActiveItem.TextColor = clCaptionText
            Styles.ActiveItem.Font.Charset = DEFAULT_CHARSET
            Styles.ActiveItem.Font.Color = clCaptionText
            Styles.ActiveItem.Font.Height = -11
            Styles.ActiveItem.Font.Name = 'Tahoma'
            Styles.ActiveItem.Font.Style = []
            Styles.InactiveItem.FillColor = clInactiveCaption
            Styles.InactiveItem.TextColor = clInactiveCaptionText
            Styles.InactiveItem.Font.Charset = DEFAULT_CHARSET
            Styles.InactiveItem.Font.Color = clInactiveCaptionText
            Styles.InactiveItem.Font.Height = -11
            Styles.InactiveItem.Font.Name = 'Tahoma'
            Styles.InactiveItem.Font.Style = []
            Styles.MeasureItem.FillColor = 16444382
            Styles.MeasureItem.TextColor = clCaptionText
            Styles.MeasureItem.Font.Charset = DEFAULT_CHARSET
            Styles.MeasureItem.Font.Color = clCaptionText
            Styles.MeasureItem.Font.Height = -11
            Styles.MeasureItem.Font.Name = 'Tahoma'
            Styles.MeasureItem.Font.Style = []
            Styles.FieldsItem.FillColor = 14869218
            Styles.FieldsItem.TextColor = clCaptionText
            Styles.FieldsItem.Font.Charset = DEFAULT_CHARSET
            Styles.FieldsItem.Font.Color = clCaptionText
            Styles.FieldsItem.Font.Height = -11
            Styles.FieldsItem.Font.Name = 'Tahoma'
            Styles.FieldsItem.Font.Style = []
            Styles.AxisCells.FillColor = clBtnFace
            Styles.AxisCells.TextColor = clBlack
            Styles.AxisCells.Font.Charset = DEFAULT_CHARSET
            Styles.AxisCells.Font.Color = clBlack
            Styles.AxisCells.Font.Height = -11
            Styles.AxisCells.Font.Name = 'Tahoma'
            Styles.AxisCells.Font.Style = []
            Styles.AxisCellsSelected.FillColor = clBtnShadow
            Styles.AxisCellsSelected.TextColor = clBtnText
            Styles.AxisCellsSelected.Font.Charset = DEFAULT_CHARSET
            Styles.AxisCellsSelected.Font.Color = clBtnText
            Styles.AxisCellsSelected.Font.Height = -11
            Styles.AxisCellsSelected.Font.Name = 'Tahoma'
            Styles.AxisCellsSelected.Font.Style = []
            Styles.DataCells.FillColor = clWhite
            Styles.DataCells.TextColor = clBlack
            Styles.DataCells.Font.Charset = DEFAULT_CHARSET
            Styles.DataCells.Font.Color = clBlack
            Styles.DataCells.Font.Height = -11
            Styles.DataCells.Font.Name = 'Tahoma'
            Styles.DataCells.Font.Style = []
            Styles.DataCellsTotals.FillColor = 15466495
            Styles.DataCellsTotals.TextColor = clBlack
            Styles.DataCellsTotals.Font.Charset = DEFAULT_CHARSET
            Styles.DataCellsTotals.Font.Color = clBlack
            Styles.DataCellsTotals.Font.Height = -11
            Styles.DataCellsTotals.Font.Name = 'Tahoma'
            Styles.DataCellsTotals.Font.Style = []
            Styles.DataCellsSelected.FillColor = clHighlight
            Styles.DataCellsSelected.TextColor = clHighlightText
            Styles.DataCellsSelected.Font.Charset = DEFAULT_CHARSET
            Styles.DataCellsSelected.Font.Color = clHighlightText
            Styles.DataCellsSelected.Font.Height = -11
            Styles.DataCellsSelected.Font.Name = 'Tahoma'
            Styles.DataCellsSelected.Font.Style = []
            Styles.UseParentFont = False
            Slice = fcSlice1
            Align = alClient
            TabOrder = 0
          end
          object MDToolBar1: TfcToolBar
            Left = 1
            Top = 1
            Width = 578
            Height = 22
            AutoSize = True
            Caption = 'MDToolBar1'
            Color = clBtnFace
            ParentColor = False
            TabOrder = 1
            Grid = fcGrid1
            Options.GridExport = False
            Options.SortButtons = False
            Options.Schema = False
            Options.Statistics = False
            Options.FactManage = False
            Options.FieldEditor = False
          end
        end
      end
    end
    object tsGrafico: TTabSheet
      Caption = 'Gr'#225'fico'
      ImageIndex = 1
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object fcChart1: TfcChart
        Left = 0
        Top = 0
        Width = 582
        Height = 484
        Title.Text.Strings = (
          'Propriedades do gr'#225'fico est'#227'o incorretas')
        BackColor = clBtnFace
        MaxPointsPerPage = 0
        Page = 1
        ScaleLastPage = True
        Align = alClient
        BorderStyle = bsNone
        TabOrder = 0
        Slice = fcSlice1
        Active = True
        TypeChartData = fcct_ByAxisMeasures
        CategoriesAxis = ta_RowAxis
        SeriesAxis = ta_ColAxis
        CategoriesFieldCount = 1
        SeriesFieldCount = 1
        MeasureFiledIndex = 0
        fcSeriesType = stTBarSeries
        StackType = mbSide
        LogType = ltSimple
        MarksShowStyle = ssNone
        SkipNullPoints = False
        AllSeriesMarksStyle = smsLabelValue
        ColorPaletteIndex = 13
      end
    end
  end
  object Panel4: TPanel
    Left = 0
    Top = 0
    Width = 209
    Height = 510
    Align = alLeft
    TabOrder = 1
    object tvRelatorio: TTreeView
      Left = 1
      Top = 1
      Width = 207
      Height = 508
      Align = alClient
      Indent = 19
      ReadOnly = True
      TabOrder = 0
      OnDblClick = tvRelatorioDblClick
      Items.NodeData = {
        0301000000320000000000000000000000FFFFFFFFFFFFFFFF00000000000000
        0000000000010A520065006C0061007400F300720069006F007300}
    end
    object bt_Visualizar: TButton
      Left = 57
      Top = 152
      Width = 75
      Height = 22
      Caption = 'Visualizar'
      TabOrder = 1
      OnClick = bt_VisualizarClick
    end
  end
  object fcCube1: TfcCube
    DataSet = qryRelatorio
    DefaultFormat.BooleanFormat.FormatStr = 'False,True'
    DefaultFormat.BooleanFormat.Kind = fkBoolean
    DefaultFormat.DateFormat.FormatStr = 'dd/MM/yyyy'
    DefaultFormat.DateFormat.Kind = fkDateTime
    DefaultFormat.TimeFormat.FormatStr = 'hh:mm'
    DefaultFormat.TimeFormat.Kind = fkDateTime
    DefaultFormat.DateTimeFormat.FormatStr = 'hh:mm dd/MM/yyyy'
    DefaultFormat.DateTimeFormat.Kind = fkDateTime
    DefaultFormat.FloatFormat.FormatStr = '%2.2n'
    DefaultFormat.FloatFormat.Kind = fkNumeric
    DefaultFormat.CurrencyFormat.FormatStr = '%2.2m'
    DefaultFormat.CurrencyFormat.Kind = fkNumeric
    DefaultFormat.IntegerFormat.FormatStr = '%g'
    DefaultFormat.IntegerFormat.Kind = fkNumeric
    DefaultFormat.PercentFormat.FormatStr = '%2.2n'
    DefaultFormat.PercentFormat.Kind = fkNumeric
    UseMultiLoad = True
    Hierarchies = <>
    Version = '1.10.3'
    Left = 472
    Top = 152
  end
  object qryRelatorio: TADOQuery
    Connection = dm.AdoConnINTERNO
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'SELECT '#9'CLIENTE.CLIENTE,'
      #9'ORCAMENTO.N'#218'MEROOR'#199'AMENTO,'
      #9'PRODUTO_GRUPO.NM_GRUPO,'
      #9'PRODUTO_GRUPO.CD_GRUPO,'
      #9'PRODUTO.PRPRODUTO,'
      '               ORCAMENTO.DATAOR'#199'AMENTO'
      'FROM '#9'((((ORCAMENTO_ITEM AS ORCITEM'
      
        'INNER JOIN PRODUTO '#9'AS PRODUTO '#9#9'ON PRODUTO.PRC'#211'DIGOPRODUTO '#9#9'= ' +
        'ORCITEM.C'#211'DIGOPRODUTO)'
      
        'INNER JOIN ORCAMENTO '#9'AS ORCAMENTO'#9#9'ON ORCAMENTO.N'#218'MEROOR'#199'AMENTO' +
        #9'= ORCITEM.DON'#218'MEROOR'#199'AMENTO)'
      
        'INNER JOIN CLIENTE '#9'AS CLIENTE'#9#9'ON CLIENTE.C'#211'DIGOCLIENTE= ORCAME' +
        'NTO.ORC'#211'DIGOCLIENTE)'
      
        'LEFT JOIN PRODUTO_GRUPO'#9'AS PRODUTO_GRUPO '#9'ON PRODUTO_GRUPO.CD_GR' +
        'UPO '#9#9'= LEFT(PRODUTO.PRC'#211'DIGOPRODUTO,4))')
    Left = 544
    Top = 152
  end
  object fcSlice1: TfcSlice
    DefaultColWidth = 100
    Options = [mdsoAutoFilter]
    Cube = fcCube1
    FieldsOrder = fcfloByDataSet
    ShowSplitFieldsInFieldList = fcssf_Default
    Left = 392
    Top = 152
  end
  object fcGridReport: TfcGridReport
    Grid = fcGrid1
    PaintSizes.AutoSizeStyle = ssDefault
    PaintSizes.MaxColWidth = 80
    PaintSizes.DefaultRowHeight = 18
    PaintSizes.DefaultColWidth = 80
    LeftMargin = 10.000000000000000000
    RightMargin = 10.000000000000000000
    TopMargin = 10.000000000000000000
    BottomMargin = 10.000000000000000000
    Left = 624
    Top = 152
  end
  object ImageList1: TImageList
    Left = 392
    Top = 208
    Bitmap = {
      494C010102000400240010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
      0000000000003600000028000000400000001000000001002000000000000010
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000B6A8
      990077614D0071625200716354007162540070625300706153006F6152006E5F
      4F006F574200735E480000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000708890007078
      8000607070005060600040505000303840002028300010202000101020001010
      200010102000101020001010200010102000000000000000000000000000B7A9
      9A00F1E1DE00E8D5C500D9C4B200D7BCAF00C9B4A300C8ADA000BCA79500BDAB
      9B00B49786006D553F0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000070889000A0E0
      F00070D0F00050B8E00030B0E00030A8E00020A0D0002098C0002090C0002080
      B0002080B0001080B0002070900010202000000000000000000000000000B9AC
      9E00FDF2E800F5BFA300E5AA7F00E49C7200D6957000D4926100D5916700DEC4
      B900B09F90006D57410000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000080889000B0E8
      F00090E8FF0080E0FF0070D8FF0070D0F00060C8F00050C0F00040B8F00030A8
      F00030A8E0002098E0002078A00020283000000000000000000000000000B9AA
      9C00FAF2EA00FDEAE500FCE4D200FBDDCF00F9DACD00ECD3BE00ECD3BE00E0D0
      C000AE9D8D006D57410000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000008090A000B0E8
      F000A0E8FF0090E8FF0080E0FF0070D8FF0070D0F00060C8F00050C0F00040B8
      F00030A8F00030A0E0001080B00030384000000000000000000000000000BAAB
      9E00F9F1F400F5D2C000F2BB9E00E5AC9000E3A48200D5957000D89B6C00EBD2
      C600B09F90006D57410000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000008090A000B0F0
      FF00B0F0FF00A0E8FF0090E0FF0080E0FF0070D8FF0070D0F00060C8F00050C0
      F00040B0F00030A8F0001080B00040405000000000000000000000000000C7B2
      9E00FBF8F900FEF4F500FDEDE300FBE6DF00EEE3CF00ECD9CB00ECD4C000EED7
      CD00AF9E8E006D57410000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000008098A000C0F0
      FF00B0F0F000A0F0FF00A0E8FF0090E0FF0080E0FF0070D8FF0060D0F00060C8
      F00050B8F00040B0F0001088C00050506000000000000000000000000000C7B3
      AB00FBF7F700FFDACD00F3C8AD00F2BB9E00E5AC8300E19D7200D89C7A00EBD8
      C900B0A090006D57410000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000008098A000C0F0
      FF00B0F0FF00B0F0FF00A0E8FF0090E8FF0090E0FF0080E0FF0070D8FF0060D0
      F00060C8F00050B8F0001090C00050607000000000000000000000000000C8B9
      AB00FBFAF900FEF4F600FDF0E500FDEEE200FAE5DE00EEE2CF00EDDCD000EEDF
      DC00AF9E8F006D57400000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000090A0A000C0F0
      FF00B0F0FF00B0F0FF00B0F0F000A0F0FF0090E8FF0090E0FF0080E0FF0070D0
      FF0060D0F00050C0F0002098D00060708000000000000000000000000000D5BA
      AC00FBF8F700F4DACE00F2CFBB00F2C9AE00E6BBA000E3AD8F00E6AA8A00ECDE
      D500B0A192006D57400000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000090A0B000C0F0
      FF00C0F0FF00C0F0FF00C0F0FF00B0F0FF00B0F0FF00A0E8FF0090E8FF0090E0
      FF0080D8FF0070D0FF0060C0F00060708000000000000000000000000000D6C0
      AC00FCFBF900FDF8F600FDF6F300FDEFF000FAEDE200FBEBDF00F7E0D900BFA9
      9400A69584006B553F0000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000090A0B00090A0
      B00090A0B00090A0B00090A0B00090A0B00090A0A0009098A0008098A0008098
      A0008098A0008098A0008098A00000000000000000000000000000000000D6C1
      B900FBF8F700F4DACD00F2CFBA00F1C8AD00E5BA9E00E6AD9100DA9D7A007460
      4F00624B34007059440000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000090A8B000B0E8
      F000B0F0FF00B0F0F00090E0F00090A0B0000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000D7C7
      B900FCFCFB00FFFDFC00FEFCFA00FEFBF900FDFAF800FAEEEF00C6AD9700B6AA
      9E00735C47000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      00000000000000000000000000000000000000000000000000000000000090A8
      B00090A8B00090A8B00090A8B000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000E2C7
      B800FBF7F600FDFCFB00FDFCFC00FDFCFC00FDFDFC00FBF8F800BEA79D007A64
      4E00000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000000000000000000000000000E4C7
      B900E4C7B800E4C7B900E4C7B900E3C7B900D7C7B900D5BFB700D3B6A8000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      000000000000000000000000000000000000424D3E000000000000003E000000
      2800000040000000100000000100010000000000800000000000000000000000
      000000000000000000000000FFFFFF00FFFFFFFF00000000FFFFE00300000000
      C000E00300000000C000E00300000000C000E00300000000C000E00300000000
      C000E00300000000C000E00300000000C000E00300000000C000E00300000000
      C000E00300000000C001E00300000000C0FFE00700000000E1FFE00F00000000
      FFFFE01F00000000FFFFFFFF0000000000000000000000000000000000000000
      000000000000}
  end
end
